Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bugfixes for LPMP #1

Merged
merged 3 commits into from
Jun 11, 2024
Merged

Conversation

grg-haas
Copy link

This PR mainly fixes CI builds for our platforms, while also doing some light refactoring. Specifically, I moved the contents of the sbi-lpmp.c file out of opensbi-lpmp.patch, since it is easier/more maintainable to keep track of source code changes than patch file changes. Also, I added support for 32-bit builds since it seems this patchset was originally developed for 64-bit platforms.

NOTE: this patch has not been tested for correctness yet -- I mainly just went through and fixed compile bugs. If y'all have the spare capacity, I would really appreciate it if you could take a look at these changes and make sure I didn't break anything, both for 64-bit and 32-bit. If you don't have the time, that's of course also okay -- just let me know and I can find some time to take a look.

Next steps for getting LPMP merged into Keystone would be merging my PR into your PR, we'll then do an informal security review (since this touches security-critical functionality for Keystone) and go from there! Thanks again for your contribution!

@GartonChan GartonChan merged commit 5056905 into GartonChan:master Jun 11, 2024
@GartonChan
Copy link
Owner

GartonChan commented Jun 11, 2024

Hi @grg-haas! Thanks for your time. I took a look at the changes and built it again in my local environment. It is working well on my machine, but I only tested for the 64-bit platform. We also learnt some coding conventions from this PR and we will try to follow them in future.

@grg-haas grg-haas deleted the feature/lpmp branch June 11, 2024 19:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants